package com.c611.smartclassroom.service;

import com.c611.smartclassroom.model.ClassRoom;

import java.util.List;

public interface ClassRoomService {

    long queryAllClassRoomCountByBuildID(String buildID);

    List<ClassRoom> queryAllClassRoom(String buildID,Integer page,Integer pageSize);

    int save(ClassRoom classRoom);

    int addClassRoom(ClassRoom classRoom);

    int defClassRoom(String classroomID);

    int defClassRoom2(String classroomID);
    List<ClassRoom> queryClassRoomById(String buildID);

    ClassRoom queryClassRoomByClassroomId(String classroomID);

    Long queryAllClassRoomCount();

    List<ClassRoom> queryAllClassRoom(Integer page, Integer limit);

    void updateClassRoomIdOther(String newId, String oldId);

    int checkClassRoomId(String classroomid);
}
